﻿namespace WpfAppBindingDemo1010;

internal class Student:ObservableObject
{
    private int id;

    public int Id
    {
        get { return id; }
        set
        {
            id = value;
            RaisePropertyChanged();
        }
    }

    private string name;

    public string Name
    {
        get { return name; }
        set
        {
            name = value;
            RaisePropertyChanged();
        }
    }

    private int age;

    public int Age
    {
        get { return age;
        }
        set
        {
            age = value;
            RaisePropertyChanged();
        }
    }
}